#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <stdio.h>
#include <stdlib.h>
int main(int argc,char * argv[]){
    struct sockaddr_in addr;
    addr.sin_addr.s_addr = inet_addr(argv[1]);
    addr.sin_family = AF_INET;
    addr.sin_port = htons(atoi(argv[2]));
    for (int i=0;i<sizeof(addr);i++){
        printf("0x%X,",((unsigned char*)&addr)[i]);
    }
    printf("0x00");
}